Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️(lib_video) manage sharing error when one resource is already shared #2512

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

AntoLC
Copy link
Contributor

@AntoLC AntoLC commented Nov 23, 2023

Purpose

Issue: #2511

When a user tried to share a resource when another one was already shared, the sharing was not started and an error was displayed.

Proposal

We now stop the sharing of the first resource and start the sharing of the new one if we get the error 'Video is already sharing' from the backend.

@AntoLC AntoLC self-assigned this Nov 23, 2023
@AntoLC AntoLC force-pushed the refacto/anthony/improve-sharing-switch branch from f50d718 to 0f7ae13 Compare November 23, 2023 11:36
@AntoLC AntoLC linked an issue Nov 23, 2023 that may be closed by this pull request
@AntoLC AntoLC force-pushed the refacto/anthony/improve-sharing-switch branch from 0f7ae13 to 6271461 Compare November 23, 2023 11:38
When a user tried to share a resource when another
one was already shared, the sharing was not started and an
error was displayed.
We now stop the sharing of the first resource and start the sharing
of the new one if we get the error 'Video is already sharing' from
the backend.
@AntoLC AntoLC force-pushed the refacto/anthony/improve-sharing-switch branch from 6271461 to 428b12a Compare November 23, 2023 11:41
@AntoLC AntoLC marked this pull request as ready for review November 23, 2023 12:42
@AntoLC AntoLC requested a review from lunika November 23, 2023 12:42
@AntoLC AntoLC merged commit 93e60fa into master Nov 23, 2023
33 of 34 checks passed
@AntoLC AntoLC deleted the refacto/anthony/improve-sharing-switch branch November 23, 2023 13:34
lunika added a commit that referenced this pull request Nov 29, 2023
Added

- Meta description and meta title on the website from the API (#2516)
- Retrieve BBB learning analytics and send them through API
- Classroom attendance analytics (#2499)
- Add a language picker for the invite link on the website (#2504)

Changed

- Replace grommet DropButton component (#2513)
- On live, can now share resource when one is already shared (#2512)
- Remove persistency on token from invite link (#2505)
- Replace grommet Cards / Footer/ Anchor / Tip / Nav (#2503)
- Refacto widgets SharedLiveMedia (#2504)
- Replace grommet Button (#2453)
- Replace grommet Box (#2484)
- Replace grommet TextArea (#2500)
- Update psycopg to version 3
- Update node to version 20
- Replace pylti with oauthlib for LTI request validation
- Replace faker with @faker-js/faker (frontend)

Fixed

- Blocking error when shared document is deleted (#2504)
- Improve render sharing picture in live (#2508)
lunika added a commit that referenced this pull request Nov 29, 2023
Added

- Meta description and meta title on the website from the API (#2516)
- Retrieve BBB learning analytics and send them through API
- Classroom attendance analytics (#2499)
- Add a language picker for the invite link on the website (#2504)

Changed

- Replace grommet DropButton component (#2513)
- On live, can now share resource when one is already shared (#2512)
- Remove persistency on token from invite link (#2505)
- Replace grommet Cards / Footer/ Anchor / Tip / Nav (#2503)
- Refacto widgets SharedLiveMedia (#2504)
- Replace grommet Button (#2453)
- Replace grommet Box (#2484)
- Replace grommet TextArea (#2500)
- Update psycopg to version 3
- Update node to version 20
- Replace pylti with oauthlib for LTI request validation
- Replace faker with @faker-js/faker (frontend)

Fixed

- Blocking error when shared document is deleted (#2504)
- Improve render sharing picture in live (#2508)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(live) improve UX for document sharing
2 participants